﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Linq;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
using WfActivityLibrary.control;
using System.Collections.Generic;

namespace WfActivityLibrary
{
    [Serializable()]
    public sealed partial class BaseStateWorkflow : StateMachineWorkflowActivity
    {
        public BaseStateWorkflow()
        {
            InitializeComponent();
        }

        public static DependencyProperty 提交结果Property = DependencyProperty.Register(
            "提交结果", typeof(string), typeof(BaseStateWorkflow));
        [BrowsableAttribute(false)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        public string 提交结果
        {
            get
            {
                return (string)base.GetValue(BaseStateWorkflow.提交结果Property);
            }
            set
            {
                base.SetValue(BaseStateWorkflow.提交结果Property, value);
            }
        }

        public static DependencyProperty 创建者Property = DependencyProperty.Register(
            "创建者", typeof(YhxxEntity), typeof(BaseStateWorkflow));
        [BrowsableAttribute(false)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        public YhxxEntity 创建者
        {
            get
            {
                return (YhxxEntity)base.GetValue(BaseStateWorkflow.创建者Property);
            }
            set
            {
                base.SetValue(BaseStateWorkflow.创建者Property, value);
            }
        }

        public static DependencyProperty 流程名称Property = DependencyProperty.Register(
            "流程名称", typeof(string), typeof(BaseStateWorkflow));
        [BrowsableAttribute(false)]
        public string 流程名称
        {
            get
            {
                return (string)base.GetValue(BaseStateWorkflow.流程名称Property);
            }
            set
            {
                base.SetValue(BaseStateWorkflow.流程名称Property, value);
            }
        }

        public static DependencyProperty 下一步处理人Property = DependencyProperty.Register(
            "下一步处理人", typeof(ChoiceClrxx), typeof(BaseStateWorkflow));
        [DescriptionAttribute("下一步处理人")]
        [CategoryAttribute("下一步处理人 Category")]
        [BrowsableAttribute(true)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
        public ChoiceClrxx 下一步处理人
        {
            get
            {
                return ((ChoiceClrxx)(base.GetValue(BaseStateWorkflow.下一步处理人Property)));
            }
            set
            {
                base.SetValue(BaseStateWorkflow.下一步处理人Property, value);
            }
        }

        /// <summary>
        /// 流程的值
        /// </summary>
        [BrowsableAttribute(false)]
        public Dictionary<string, string> insValue { set; get; }
    }
}
